package org.dromara.work.domain;

import jakarta.validation.constraints.NotNull;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 地名门户栏目对象 dm_mh_category
 *
 * @author Chen
 * @date 2025-02-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mh_category")
public class MhCategory extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 栏目名称
     */
    private String title;

    /**
     * 父id
     */
    private Long parentId;

    /**
     * 排序号
     */
    private Long orderNum;

    /**
     * 是否显示
     */
    private Boolean show;

    /**
     * 关键字
     */
    private String keyword;

    /**
     * 是否外链
     */
    private Boolean link;

    /**
     * 链接地址
     */
    private String linkUrl;



}
